package com.size.mall.mallapi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;


@TableName("pms_product_sale_attr")
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class PmsProductSaleAttr implements Serializable {

    @TableId(type = IdType.AUTO)
    String id;

    String productId;

    String saleAttrId;

    String saleAttrName;


    @TableField(exist = false)
    List<PmsProductSaleAttrValue> spuSaleAttrValueList;


}
